For the same dataframe, df.count() takes 1/10th of the time compared to df.show(). I am curious what is the difference in the implementation plan b
df.count()
df.show()