LPS-44013  Apply same pattern to the count test.