All fines and forfeitures collected in said magistrate court shall be subject to assessment in the amount prescribed by law for contribution to the peace officers' annuity and benefit fund as in cases tried in municipal courts of this state.