pandas.Index.size

Index.size

return the number of elements in the underlying data