Add support for counting synctatic matches in a macro definition