So, these two say to me there is an object that should be returned in non-strict mode for better encapsulation. Effectively, this implies:

```ruby
Lint.error_count(Lint.validate('filename'))
```

Or, possibly some other method that delegates this:

```ruby
Lint.validate('filename', count: :errors) etc.
```