>2) After a Set Filter, you must move the file pointer, e.g. Go Top, before the filter takes effect. I see you set filter then do a COUNT, which will give you a pre-filter result.
LOCATE is much better than GO TOP, sometimes it's extremely much faster.