Removing the unused asynchronous count method.