Counts lines in targeted filenames