Count Number Of Elements In Python