Line Counter

Count the number of lines containing (or not containing) specific text or matching a regular expression pattern. Leave the search text empty to count all lines.