public int getPendingSaveCount() {
            int count = 0;
            for (PlayerReinforcement pr : pendingDbUpdate) {
                DbUpdateAction action = pr.getDbAction();
                if (action == DbUpdateAction.INSERT || action == DbUpdateAction.SAVE) {
                    ++count;
                }
            }
            return count;
        }