How to get the number of a kind of vertex/edge

if there exist a code to get the number of a kind of vertex/edge straightly?

@MajingYang You can run a CURL command to request these details. Below are links to both request types. Alternatively, you could use GraphStudio (Load Data Tab) to see a detailed count of vertices and edges.

List vertices

GET /graph/{graph_name}/vertices/{vertex_type}

List Edges

GET /graph/{graph_name}/edges/{source_vertex_type}/{source_vertex_id}

thanks you firstly~ but i have another question