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