[ruby-core:114711] [Ruby master Bug#19875] Ruby 2.7 -> 3.1 Performance regression in String#count