Hey @Sharmadha Sainath,
I was not able to add comment so adding my reply here, actually i was using space instead of "=" in limit. It is working now. Thanks
The following gremlin query can also be used the get the count of entity type:
Thank you @Sarath Subramanian. Right now i am using DSL for searching the tables in a schema. Let me know which one should be good in terms of performance. Gremlin or DSL.
@subash sharma , DSL query makes GREMLIN call internally to fetch results.