The county from which each person has been committed to an institution for defective or psychopathic delinquents shall pay the state the cost of the care of such person, for the time the person committed remains a patient of the institution, at the monthly rate therefor fixed as provided in Section 7292.