A music teacher asked 26 students how many days during the previous week each student practiced an instrument. The table shows the results.
| Days practiced | Number of students |
|---|---|
| 0 | 4 |
| 1 | 3 |
| 2 | 6 |
| 5 | 1 |
| 6 | 8 |
| 7 | 4 |
After the table was made, 1 additional student reported practicing 4 days. What was the median number of days practiced for the 27 students?