human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Episode title, Air date, Reward, Immunity, Eliminated, Vote, Finish
###Question: How many persons had immunity in the episode when Wanda was eliminated?
gpt
SELECT COUNT Immunity FROM table WHERE Eliminated = Wanda