change GroupCount to be a side effect step, just like in gremlin-core

https://groups.google.com/forum/#!topic/gremlin-users/3wXSizpqRxw
side effect cap test