Table: southern_downs_population
Columns: year
population_region_total
population_stanthorpe
population_warwick
population_allora
population_glengallan
population_rosenthal

Question: How many population figures are given for Glengallen for the year when the region's total is 30554?
SQL: SELECT COUNT("population_glengallan") FROM southern_downs_population WHERE "population_region_total" = 30554

Question: What is the maximum population size in the town of Stanthorpe?
SQL: SELECT MAX("population_stanthorpe") FROM southern_downs_population

Question: What is the maximum population size in the town of Glengallen?
SQL: SELECT MAX("population_glengallan") FROM southern_downs_population

Question: What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?
SQL: SELECT MAX("population_stanthorpe") FROM southern_downs_population WHERE "population_rosenthal" = 1548

Question: How many population total figures are there for the year when Allora's population was 2132?
SQL: SELECT COUNT("population_region_total") FROM southern_downs_population WHERE "population_allora" = 2132