type.inbound
and any(body.current_thread.links,
(
// 4 or more encoders but they are all distinct
length(.href_url.rewrite.encoders) >= 4
and length(distinct(.href_url.rewrite.encoders)) >= 4
)
)
Playground
Test against your own EMLs or sample data.