A Kitchen-Counter Puzzle

How many M&Ms fill a jar 10 centimeters wide and 17 centimeters tall?