How do i add relationship count in REST API calls?

you see in here when i create a new clinician enrty i can select multiple specialities