In all counties of class one, as provided by law, the officers thereof shall be required to furnish a bond as required by law, the cost thereof to be paid by the county.