How do i add relationship count in REST API calls?

That might affect too