jQuery helpers to assert how many elements should be in a jQuery array