Jumlah baris di DataFrame Pyspark

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