Docs: Update cardinality-aggregation.asciidoc

Closes #7516
[TEST] Close input stream in test to not upset windows