I'd avoid creating another EntityCheck object in there, and use Array#count to count the matching checks:

```ruby
redis.zrange("failed_checks", 0, -1).count do |key|
  entity, check = key.split(':', 2) 
  !!redis.zscore("current_checks:#{entity.name}", check)
end
```

Look OK?