public Map<String,Integer> countType() {
        //System.out.println("55555");
        String profile ="E:\\doc\\"+ username + "_profile.txt";
        String sort = "E:\\doc\\sort.txt";
        Map<String, String> sort_map = new HashMap<String, String>();
        Map<String, Integer> ret = new HashMap<String, Integer>();
        try {
            BufferedReader sort_reader;
				sort_reader = new BufferedReader(new FileReader(new File(sort)));
            String line, s[], ss[];
            while((line=sort_reader.readLine())!=null) {
                //System.out.println(line);
                s = line.split(" ");
                //System.out.println(s[0]+"->"+s[1]);
                sort_map.put(s[0], s[1]);
            }
            //System.out.println("111");
            //System.out.println(user_name);
            //System.out.println("222");
            BufferedReader profile_reader;
			profile_reader = new BufferedReader(new FileReader(new File(profile)));
			
            while((line=profile_reader.readLine())!=null) {
                //System.out.println(lin e);
                ss = line.split("[-:\\t]+");
                //sss = ss[3].split("	");
                //System.out.println(ss[5]);
                //System.out.println(sss[0]);
                //s[6]题号
                //System.out.println(ss[5]);
                if(sort_map.containsKey(ss[5])) {
                    String type = sort_map.get(ss[5]);
                    if(ret.containsKey(type)) {
                        ret.put(type, ret.get(type)+1);
                    }
                    else {
                        ret.put(type, 1);
                    }
                }
            }
		} catch (FileNotFoundException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        return ret;
    }