added count metic in-order to support bulk operations