class CountsStoreTransactionApplier extends TransactionApplier.Adapter {

    @Override
    public boolean visitNodeCountsCommand( Command.NodeCountsCommand command )
    {
        assert countsUpdater != null || mode == TransactionApplicationMode.RECOVERY : "You must call begin first";
        haveUpdates = true;
        if ( countsUpdater != null )
        {   // CountsUpdater is null if we're in recovery and the counts store already has had this transaction applied.
            countsUpdater.incrementNodeCount( command.labelId(), command.delta() );
        }
        return false;
    }

    public  CountsStoreTransactionApplier( TransactionApplicationMode mode, CountsAccessor.Updater countsUpdater );

}