Similar::Text::QuickSeqRatio(T)
Internal utility to calculate an upper bound for a ratio for
get_close_matches. This is based on Python's difflib approach
of considering the two sets to be multisets.
It counts the number of matches without regard to order, which is an obvious upper bound.