Hello, juliemac.
Basically, pulse count is done over a set time period. Do this over a one second interval and now you have both the count and frequency. If you get 117 pulses in your one second period, you have a frequency of 117 Herz (cycles per second). If you need a more frequent update than once per second, then do the sampling in a tenth second interval and multiply the count by 10 to arrive at a slightly less accurate frequency.
Of course you'll have to use interrupts to get a time interval larger than a few milliseconds. BASIC interrupts for Nanos aren't supported in Studio, just Pro parts. You'll have to search the forums for how to do this in assembly for Atom parts, which also applies to Nanos (Or buy a Pro One-M). The examples are there.
Take care.