Fix small bug in Stats where custom groups for counters were ignored.
Merge pull request #866 from daisyzhou/develop

Fix small bug in Stats where custom groups for counters were ignored.