Количество строк в pyspark dataframe

print((df.count(), len(df.columns)))
Exuberant Elk