user: ### NOW ANSWER:
Question: How many ranks have 40 as the apps, with goals per match greater than 1?
Columns: ['Rank', 'Name', 'Season', 'Club', 'Goals', 'Apps', 'Goals per Match']
Types: ['real', 'text', 'text', 'text', 'real', 'real', 'real']
Sample row: [1.0, 'Lionel Messi', '2011/12', 'Barcelona', 73.0, 60.0, 1.217]
SQL:

assistant: SELECT SUM("Rank") FROM "Table" WHERE "Apps" = 40.0 AND "Goals per Match" > 1.0;