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

TNL-543

@jimabramson @dan-f Please review
Let me know if you feel strongly that the case of nonzero threads and zero comments needs to be covered.