add spec helper count_files