move getCountersScore into MagicPermanent, improve performance to take time proportional to number of counters on the permanent