How can I get the numbers of items belongs to LIstview?

There is a ListView,the number of items maybe 3 or 4 or above.
I use python language.I checked the selenium lib and appium lib.But I can not find any method to get the number.
How can I get it?
el=driver.findElementsByClassName(“android.wedget.listview”)
ans=el.?(What method I should use?)
Thanks!~

Did you get solution to this problem?