added a count_emacs_packages thing