The persons appointed under section 153.21 of the Revised Code after August 22, 1951, shall receive a reasonable compensation for the time actually employed, to be fixed by the court of common pleas and on its approval paid from the county treasury. Their compensation in the aggregate shall not exceed eight thousand dollars.