Try hist(StudentSurvey$Exercise)
hist(StudentSurvey$Exercise)
Also, don't attach screenshots. Create a reproducible example next time.