The governing body of a municipality shall direct by general ordinance the number of subordinate police officers to be appointed.