That the compensation of each stenographer so employed shall be not exceeding ten dollars per day and two and one-half dollars per day expenses, and there shall be taxed in each case as provided in section one thousand, four hundred and sixty-one a reasonable fee, against the losing party in every action, civil and criminal,…