I noticed while working on #10325 that we did not have unit tests for x-envoy-attempt-count behavior on the request path similar to the ones added for the response path on #10325, specially for overwritten behavior. There are a couple integration tests that ensure basic functionality, and config tests.