Many continuous functions have many proper local extrema