To get the number of elements in a dataframe, ............... attribute may be used.
size
Reason — The size attribute will return an integer representing the number of elements in a DataFrame object.