It was working before because prior to the maildir conversion you only had files at that level in the directory tree (e.g. inbox). Now with maildir theirs a new directory hierarchy and the new directive I added counts all the files under that tree.