call #count on Array instead of Enumerator in pry_instance.rb