How To Calculate Frequency Density