count function

neerajaN
New Contributor II

Hi, as per spark internals, once count function executed in worker nodes , one of the worker node collect all the count of records and do summation ?

or count of records from all worker nodes passed to driver node. and summation done driver node side. could some one please clear my doubt?