Setting GOMAXPROCS for counter mode.