K8055 counter

I have an “audio generator” that can produce sine and squarewave waveforms with a selectable p-p voltage.
I set it to 200 Hz 5v p-p sq-wave 50% duty (verified on a scope) somethig the counter should be able to count.
Then i made a timer(vb.net2005) that triggers every 1000 ms , read the counter, clear the counter and display it.
But i always get a value of 150, and on other fequenties also always 75% less

Why does it do that, please help me