public static double findMiceNumber(Path path, int nbOcc, HashFunction func, int k){
		SignificantWordsArraySample ws = new SignificantWordsArraySample(k, func);
    	
    	for(String str: new WordReader(path))
    		ws.addWord(str);
    	
    	return ws.estimateMiceNumber(nbOcc);
	}