I need to count the pulses, determinate if it is going CW or CCW
I would use the one HCTL2000 quadrature decoder/counter interface.

See details on datasheet @ http://www.datasheetcatalog.org/data.../HCTL-2000.pdf

Al.