num_available o(1) query