public Map<Noppa, Integer> laskeNopittain(Set<Noppa> nopat){
        Map<Noppa, Integer> lasketutnopat = new HashMap<Noppa, Integer>();
        
        for (int i = 1; i<7 ; i++) {
            lasketutnopat.put(new Noppa(i), 0);
        }
           
        for (Noppa nopsu : nopat) {
            for (Noppa nopsuverrattava : lasketutnopat.keySet()){
                if (nopsuverrattava.annaSilmaluku()==nopsu.annaSilmaluku()) {
                    lasketutnopat.put(nopsuverrattava, (lasketutnopat.get(nopsuverrattava)+1));
                }
            
        }
                 
    }
        return lasketutnopat;
    }