Out of the moneys in their hands, the trustees may first deduct all the necessary disbursements made by them in the discharge of their duty, and a commission at the rate of five per centum on the whole sum which shall have come into their hands.
New York Legal Code