public void typeCounter() {
        try {
            String line, s[], ss[];
            while((line=sortBr.readLine())!=null) {
                s = line.split(" ");
                sortmap.put(s[0], s[1]);
            }
            
            while((line=typeBr.readLine())!=null) {
                ss = line.split("[-:\\t]+");
                if(sortmap.containsKey(ss[5])) {
                    String type = sortmap.get(ss[5]);
                    if(typemap.containsKey(type)) {
                    	typemap.put(type, typemap.get(type)+1);
                    }
                    else {
                    	typemap.put(type, 1);
                    }
                }
            }
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    }