Test to make sure numRows() calls don't show unrelated errors

Bug: 42430
Change-Id: Ie939785c1f75aa99bdf59e013d5ebf65e866289c
Merge "Test to make sure numRows() calls don't show unrelated errors"