The pitch is as shown in the Aedict (it's the trailing 20 that's important).
However, please feel free to submit patches and corrections to the abovementioned project; Aedict will then pick up the changes automatically on the next dictionary index round.
'counter' isn't the right word. 数 means math. That へん literally means the side/edge of like a shape. The other へん is for general area. That file does come from NHK's 1998 Accent Dictionary. Unless you recognize the 数 and compare it to maybe JMDicts info field to see if it has a 'math related term' entry then listing both is a good idea. Unfortunately that project isn't outputting the NHKexpr field which basically determines when an accent applies in cases where a words accent may change with meaning and or placement in a sentence.