question: How many airlines have the star alliance and are in brazil?
answer: SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
context: CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)