A group of 23 students participated in a math competition. Their scores are as follows: score (points) 20-29, 30-39, 40-49, 50-59, 60-69. The number of students who scored in each range is 4, 7, 5, 4, and 3 respectively. What is the total number of students who scored between 40 and 59 points?
1) 15
2) 16
3) 17
4) 18