calculate how many jelly beans are in the jar