customer.fetchentity(32)
What's this?
Either you are fetching an entity using:
var customer = new CustomerEntity(32);
adapter.FetchEntity(customer);
And then you can check: customer.IsNew, to see if an entity was fetched or not.
Or you are fetching a collection
var customers = new EntityCollection<CustomerEntity>();
adapter.FetchEntityCollection(customers, filter);
And then you can check on customers.Count, to get the number of entities fetched.