SCIM v2 API - Filter on License type

We would like to grab the license count that is in use and what isnt but when interacting with the SCIM endpoint, it keeps coming back not vaild.

This is the API Endpoint we are using - type

Would appreciate any comments as to whether this is correct or how to interact with the endpoint correctly.

Many Thanks