A justice of the peace in a township subject to this act shall receive as compensation for his services the sum of twenty-five dollars ($25.00) per year, in equal quarterly installments, payable by the county, in addition to the compensation provided for by Acts 1875, No. 55, § 76 [repealed], and such fees as are allowed to justices of the peace by law for solemnizing marriages, taking and certifying acknowledgments of instruments, and attending to the duties of coroner, and for service in relation to estrays.