read error when trying to count properly; new single-channel file