except that no amount shall be paid to any State on account of amounts expended from amounts paid to the State under section
658a of this title or to carry out an agreement which it has entered into pursuant to section
663 of this title. In determining the total amounts expended by any State during a quarter, for purposes of this subsection, there shall be excluded an amount equal to the total of any fees collected or other income resulting from services provided under the plan approved under this part.