Since scans (license and copyrights) typically return line ranges, it would be useful to return the number of lines if a file is a text file.