The creditable compensation of fee officers who receive salary, fees, maintenance, or other perquisites as a result of their official duties is the gross amount received decreased by the cost of salary paid deputies and clerks and the cost of office supplies and other official expenses.