detect how many players are in a specific area and have a distance to a mob

execute at @e[type=minecraft:armor_stand,tag=Spawn] store result score Player Score if entity @a[distance=..3,y=114,dy=200,z=10000,dz=-20000,x=10000,dx=-20000] Basically This command block should count the Players who are in the Area and are within a 3 block radius of the armor stand with tag, The problem Lies within the selector ```@a[distance=..3,y=114,dy=200,z=10000,dz=-20000,x=10000,dx=-20000]```` Because for some reason it doesnt count properly, if I do the distance alone it works and if I define the area with coordinates alone it also works but the Combination seems to be a Problem, I dont know why maybe someone got an Idea what I did wrong
Continue to help post