scoreboard players set $egg_count cnk.dummy 0

execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:egg"}] run scoreboard players add $egg_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:blue_egg"}] run scoreboard players add $egg_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:brown_egg"}] run scoreboard players add $egg_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:turtle_egg"}] run scoreboard players add $egg_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:sniffer_egg"}] run scoreboard players add $egg_count cnk.dummy 1

return 1