fixed egg counting