Window functions in gremlin - Apache TinkerPop