GraphQL: Implement totalCount in connections
This require more information from the data sources in most of the cases.
Total count can be implemented in some connection objects eg: DirectoryEntryConnection Remove the field where it is not possible compute.
Migrated from T4307 (view on Phabricator)
Edited by Jayesh