returns the number of sweets that ate in a year