When you break a pistonhead the value for broken pistons in the scoreboard doesn't increase
/scoreboard objectives add MinePiston minecraft.mined:minecraft.piston /scoreboard objectives setdisplay sidebar MinePiston