Instruct: 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?
Output: SELECT COUNT Population (Glengallan) FROM table WHERE Population (Rosenthal) < 1,582 AND Year < 1976 AND Population (Region total) = 25,917