Before, the `count` would be copied into the closure and could potentially be optimized way. This change ensures it's borrowed by closure and finally consumed by `test::black_box`.
PartialEq<&[A]>
VecDeque<A>
Vec