Referees, in the absence of any special agreement, shall receive such compensation for their services as the court in which the case is pending may allow, not exceeding ten dollars per day.