What does the upper number of a time signature indicate?
A. the specific note value
B. the number of measures
C. the tempo
D. the number of beats in each measure