Merge pull request #243 from jk-arm/fix_global_counter

Check number is wrong in armclang release from test 212