Removed redundant code in Count.java
Added Utils.java with common variables.