Create CountFactors.java