How to get cardinality of property? - Apache TinkerPop