The council of each city governed by this act shall consist of five members. The population of the city shall be ascertained, when necessary, by a census taken under an ordinance of the city.