There's an article, "Pitch-Class Distribution and the Identification of Key",
David Temperley and Elizabeth West Marvin, that give some information along this line. I got it on JSTOR but it was published in "Music Perception" which journal you might have access to.

The distribution varies depending on the overall style (Baroque, Classical, Romantic, popular, jazz, etc.) There has been lots of work on the subject but much is only available from university libraries or behind paywalls.
There are some ambiguities in the original question. One can ask, "What is the distribution of tones by the number of occurrences? " or ask, " what is the total duration of each note?" These are not identical questions. The figure consisting of a chain of off-beat quarter notes (or half notes as in fourth species counterpoint) may be split into pairs of eighths or quarters respectively. These have the same harmonic and melodic significance but the counting methods may not agree.
Likewise, the existence of enharmonics matters from the point of view of the musical structures. An Ab7 chord is Ab-C-Eb-Gb (and normally resolves to a Db chord of some type) whereas the German Sixth Ab-C-Eb-F# usually resolves to a C64 chord. It's written with an F# to indicate the next note is G. It's a complication that you might wish to look into.