for representation of a person in all cases governed by this article, including all representation in an appellate court, compensation at a rate of one hundred fifty-eight dollars per hour for time expended in court before a magistrate, judge or justice and one hundred fifty-eight dollars per hour for time reasonably expended out of court, and shall receive reimbursement for expenses reasonably incurred.
pursuant to subdivision one of this section shall not exceed ten thousand dollars
.
N.Y. County Law § 722-B