public function count_response($subpart, $try = 0) {
        $responseanalysisforclass = $this->get_response_class($subpart->responseclassid);
        $responseanalysisforclass->count_response($subpart->response, $subpart->fraction, $try);
    }
public function count_response($subpart, $try = 0) {
        $responseanalysisforclass = $this->get_response_class($subpart->responseclassid);
        $responseanalysisforclass->count_response($subpart->response, $subpart->fraction, $try);
    }
public function count_response ( $ subpart , $ try = 0 ) { $ responseanalysisforclass = $ this -> get_response_class ( $ subpart -> responseclassid ) ; $ responseanalysisforclass -> count_response ( $ subpart -> response , $ subpart -> fraction , $ try ) ; }
Count a part of a response.

@param \question_classified_response $subpart
@param int $try the try number or zero if not keeping track of try number
Count a part of a response .