Total number of Lines Measure

I want to find a total number of lines scanned till date(not specific to project), how I can do that? Is there any API for same?