Add warning for fn:count() on grouping variable.