moved files to general and added my own verson of count_tags