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.
Merge remote-tracking branch 'upstream/develop' into develop