scoreboard players set $dye_count cnk.dummy 0

execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:black_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:blue_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:brown_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:cyan_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:gray_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:green_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:light_blue_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:light_gray_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:lime_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:magenta_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:orange_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:pink_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:purple_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:red_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:white_dye"}] run scoreboard players add $dye_count cnk.dummy 1
execute if data storage cnk:temp cooking_pot.Items[{id:"minecraft:yellow_dye"}] run scoreboard players add $dye_count cnk.dummy 1

return 1