human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Dismissals, Player, Innings, Catches, Stumpings
###Question: How many innings had a total of 2 catches and 0 stumpings?
gpt
SELECT COUNT Innings FROM table WHERE Catches = 2 AND Stumpings = 0