Read the bar graph for Mary.
Mary's bar reaches 6, so she ate 6 ice creams.

Final Answer: 6