issue #20235: no results means 0 count