one of the interesting problems - when one does hit the max string size - the script will probably crap with an expression too long error and you will never be able to capture that last accurate count.