How to to get total count for pagination with gremlin query using java Apache thinker pop - Apache TinkerPop