corrected errors for guess counting