She gave out 50 - 8 = <<50-8=42>>42 stickers in total.
She gave 4 * 5 = <<4*5=20>>20 stickers to her friends.
She gave out 42 - 20 = <<42-20=22>>22 stickers to the rest of the class.
This means there are 22 / 2 = <<22/2=11>>11 other students in the class.
There are a total of 1 + 5 + 11 = <<1+5+11=17>>17 students in the class.
#### 17