No.
Reread Shawn's explanation. You are not REDIMming one $Count var. You have two $Count vars, one global and the other local to the UDF.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.