Microsoft Graph Get the number of the resource

GET /servicePrincipals/{servicePrincipal-id}/memberOf/graph.directoryRole/$count for Microsoft Graph Serviceprincipals.