public void getcount() {
        try {
            Configuration config = new Configuration();
            FileSystem dfs = FileSystem.get(config);

            Path path = new Path("C45/intermediate" + Main.current_index + ".txt");
            BufferedReader br = new BufferedReader(new InputStreamReader(dfs.open(path)));
            String line;
            StringTokenizer itr;
            while ((line = br.readLine()) != null) {
                System.out.println("In gain Ratio : " + line);
                itr = new StringTokenizer(line);
                count[linenumber][0] = itr.nextToken();
                count[linenumber][1] = itr.nextToken();
                count[linenumber][2] = itr.nextToken();
                count[linenumber][3] = itr.nextToken();
                linenumber++;
            }
            System.out.println("outsidec while");
            count[linenumber][0] = null;
            count[linenumber][1] = null;
            count[linenumber][2] = null;
            count[linenumber][3] = null;
            br.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }