Read pulse Wind sensor

Actually both of them!But the counting ist the most important for me!
Is there something which corresponding to this situation?How you got something in your mind about it??

Thanks!