For the expenses of detention and support of each person committed, shown by the officer's return to have been actually detained in the lockup, there may be charged upon the precept, if any, and paid to the town, not more than fifty dollars for each day or fraction thereof.
Massachusetts Legal Code