Member counts of groups from joined table with testing