For administering any oath other than in connection with a matter before the court, a magistrate shall collect a fee of one dollar ($1.00).