Change more array.lenghts to numQs

This goes with commit 8cb7c3b