Ok so I didn't read every word of this post, but if you want to find out how many aliases you have, why not use:

Quote:
$alias(0) return the number of alias files loaded