Bugfix count in trie