count mistakes