Add non-empty-lines counter functionality