An example for groupby and count with different fields for each