support "SN's power is equal to number of <group>" and "SN's toughness is equal to the number of <group>"
replace groovy code with card script