Use group_id if present when getting user thread and comment counts.

TNL-543

@jimabramson @dan-f Please review
i would suggest adding coverage where the expected count is 0 for each of (threads, comments, comments + threads)