aggregate function Count usage with groupBy in Spark aggregate function Count usage with groupBy in Spark java java