public int getSentenceCount() throws BookException {
		int count = 0;
		ArrayList<AbstractComponent> list = getSentenceList(text);
		for (AbstractComponent component : list) {
			HashMap<AbstractComponent, Integer> map = getWordMap(component,
					new HashMap<AbstractComponent, Integer>());
			Collection<Integer> freqList = map.values();
			boolean isSame = false;
			for (Integer freq : freqList) {
				if (freq.intValue() > 1) {
					isSame = true;
					break;
				}
			}
			if (isSame) {
				count++;
			}
		}
		return count;
	}