Frequency of a sound wave is defined as:
number of compressions/rarefactions per unit time
Frequency is the number of oscillations per unit time. Hence, in other words, it can be defined as a number of compressions or rarefactions produced (passing through an area) per unit time.