The coroner in counties of the third and fourth classes, shall charge and collect on behalf of the county every fee accruing to his office by law, except such fees as are chargeable to the county, and shall report and pay such fees over to the county treasurer in the manner provided by law.