Added counting incorrect attempts