$execute if score @s meteorite.common matches 1.. as @e[tag=scientist.counter,type=marker,tag=type.$(common_material)] store result entity @s data.count int 1 run scoreboard players add .$(common_material) scientist.storage 1