Add test for collection count fixes #6430.