You'll likely want to use `Enumerable#inject(initial, operator)` format instead of relying on `nil.to_i` being zero.

~~~ ruby
      destroyed_count.inject(0, :+)
~~~