I'm trying to figure out if deleted entities are automatically excluded from entity queries. IE, if I did:
$num = \Drupal::entityQuery('my_entity')->count()->execute();
Would the number of entities found go down if I deleted one through the ui? How could I include/exclude deleted entities in this query?