How To Count Number Of Elements In Python