updated collection size query