recovery: added count() method to container