Dimension of graph_tool.stats.vertex_hist

I found that the returns of counts and bins have different dimensions , it
seems strange.

Did you bother to read the documentation?

It returns the bin counts and the bin *edges*. If we have N bins, there
are N+1 bin edges.