22 different songs reached #1. Longest run: Night Fever, 8 weeks in a row.
The numbers beside each song count the year's number ones in order. Weeks are counted from the Billboard Hot 100 charts dated in 1978.