Hi Sunayana,
In the LabVIEW example finder there is a counter example. It is called "Edge Counter.lvproj" Frequency would be the number of counted edges per unit of time. The example should provide a starting point.
However, you will still need to convert the analog signal to digital using some sort of crossing detector. Hard to say how to do this without knowing your resources.
Kind regards,
Rick Wagner