Hello,
Are you sure of your TTL signal ?
For example if the rise/fall time is greater than 50 ns, than the counter will give erroneous count values.
You will find other details here :
http://digital.ni.com/public.nsf/websearch/E84361EAAF6C092686256AAA007ADA7B?OpenDocument
regards,
Marc L.