не проходит по 3, 4 пункту. почему?
package com.javarush.task.task18.task1821;
import java.io.FileReader;
import java.io.IOException;
public class Solution {
public static void main(String[] args) throws IOException {
// write your code here
FileReader fileReader = new FileReader(args[0]);
char[] charstext = new char[1000];
fileReader.read(charstext);
fileReader.close();
char[] chars = new char[96];
for (int i = 32; i < 128; i++) {
chars[i - 32] = (char) i;
}
int count = 0;
for (int j = 0; j < chars.length; j++) {
for (int i = 0; i < charstext.length; i++) {
if(chars[j] == charstext[i]) {
count++;
}
}
System.out.println(chars[j] + " " + count);
count = 0;
}
}
}