Populate both count and some other relation

what about same problem but for many objects, and i want to know count for all ?