Am I making up $AliasCount?

How can I count the aliases of a note itself? I would like to show the number of aliases in the title of a note.