soql – Salesforce “EntityDefinition” tooling api returns less custom object+ custom setting count

I am using Salesforce tooling “EntityDefinition” api to pull all the custom object and custom settings as per the below query:
instance/services/data/v55.0/tooling/query?q=SELECT count() FROM EntityDefinition WHERE publisherid != ‘System’ and KeyPrefix like ‘a__’;

enter image description here

But when i am trying to verify with the UI, the api response is returning one less count. Could someone please help me regarding this. I know it does not return the soft deleted Custom object in the count and there are none in my instance.
PFB the UI snap:

enter image description here

Read more here: Source link