g.V().hasLabel('Person').count()
gives me number of person vertices present in my database, and g.V().hasLabel('Person').range(10,15)
gives me a range of person vertices.
But is there a way to combine these two into a single Gremlin query?
This is just a simplified version of my query, but my actual query is quiet complex and repeating those number of traversals just to find the count, seem ineffective!