```ruby
require 'metrics'

desc "Publish metrics"
task :metrics => :environment do
  Metrics.total_addresses
  Metrics.inferred_addresses
  Metrics.raw_addresses
  Metrics.by_council  
end
```

Correct method name for by_council
user
```ruby
require 'metrics'

desc "Publish metrics"
task :metrics => :environment do
  Metrics.total_addresses
  Metrics.inferred_addresses
  Metrics.raw_addresses
  Metrics.addresses_by_council
end
```
assistant