CREATE TABLE table_67957 ("Year" FLOAT, "Population  ( Region total ) " FLOAT, "Population  ( Stanthorpe ) " FLOAT, "Population  ( Warwick ) " FLOAT, "Population  ( Allora ) " FLOAT, "Population  ( Glengallan ) " FLOAT, "Population  ( Rosenthal ) " FLOAT)

How many people are there for Glengallan having a Rosenthal population less than 1,582 for years before 1976 with a total population of 25,917?
SELECT COUNT("Population (Glengallan)") FROM table_67957 WHERE "Population (Rosenthal)" < '1,582' AND "Year" < '1976' AND "Population (Region total)" = '25,917'
SELECT COUNT("Population (Glengallan)") FROM "table_67957" WHERE "Population (Region total)" = '25,917' AND "Population (Rosenthal)" < '1,582' AND "Year" < '1976'