I want to use the id of a vertex that has prop_a=x to find other vertices which have this value in some other property.
Something like:
g.V().sideEffect(has('prop_a','x').id().as('val')).has('prop_b',__.select('val')).count()
But the above doesn't return the right result.
In addition, I need it to run efficiently on AWS Neptun.