There's some discussion at What is the correct abbreviation for the word "numbers"? about the use of the abbreviation "No." for "number". However, my question is about the necessity of writing "of" after "no." when abbreviating "number of [foo]".
Question: Should one use "of" when abbreviating "number of..." using "no."?
As a concrete example,
Number of queries
could be abbreviated in one of these two ways:
No. queries
No. of queries
I'm accustomed to e.g. "Proceedings of the National Academy of Science of the United States of America" being abbreviated "Proc. Natl. Acad. Sci. U.S.A.", but this might be limited to journal abbreviations.
In my particular situation, I am abbreviating an axis label on a figure, and using an unabbreviated version in the caption.
One of the answers to the above question writes e.g. "Number of guests" should not be abbreviated, although it's a common enough abbreviation in computer science; examples can be found by searching for "No. of queries"
in Google Scholar.