question.GetQuestionPossible()
This function will return the total marks available in a given question user in answering a particular question. Essentially it gives you the "10" in "8 out of 10"
Example