user: ### NOW ANSWER:
Question: Name the total number of ranks for kujalleq with former name of brattahlíð and population less than 47
Columns: ['Rank', 'Population', 'Name', 'Former Name', 'Municipality']
Types: ['real', 'real', 'text', 'text', 'text']
Sample row: [46.0, 98.0, 'Akunnaaq', '—', 'Qaasuitsup']
SQL:

assistant: SELECT COUNT("Rank") FROM "Table" WHERE "Municipality" = 'kujalleq' AND "Former Name" = 'brattahlíð' AND "Population" < 47.0;