Fix bug in feedback_count helper