public function get_no_of_tries($tablerow, $slot) {
        return count($this->get_question_attempt($tablerow->usageid, $slot)->get_steps_with_submitted_response_iterator());
    }
public function get_no_of_tries($tablerow, $slot) {
        return count($this->get_question_attempt($tablerow->usageid, $slot)->get_steps_with_submitted_response_iterator());
    }
public function get_no_of_tries ( $ tablerow , $ slot ) { return count ( $ this -> get_question_attempt ( $ tablerow -> usageid , $ slot ) -> get_steps_with_submitted_response_iterator ( ) ) ; }
How many tries were attempted at this question in this slot, during this usage?

@param object $tablerow attempt data from db.
@param int $slot Slot number
@return int the number of tries in the question attempt for slot $slot.
How many tries were attempted at this question in this slot during this usage?