public int count(String dithered, String[] screen) {
        int res = 0;
        char[] dits = dithered.toCharArray();
        for (int i = 0; i < screen.length; i++) {
            String temp = screen[i];
            char[] temps = temp.toCharArray();
            for (char c : temps) {
                for (char d : dits) {
                    if (d == c) {
                        res++;
                    }
                }
            }

        }

        return res;
    }