The amount so determined for the district shall not exceed a sum equivalent to thirty cents per capita of the population of the district or fifty thousand dollars, whichever is the greatest amount; and said amount shall be apportioned and assessed upon each city and town in the district in the proportion which the population of each such city or town bears to the total population of the district,