You went to a baseball game. You counted 351 people in green shirts, 110 people in red shirts, and 413 people in orange shirts. How many people did you count in all?