Use Errors#count instead of #length