I don't know if this is currently possible but would be amazing to have if you can show the total number of associated contacts under a Custom Object using an API request.
You could make a calculated field that is the count of associated Contact record IDs so it pulls in the API as a normal property. That should get you there!