num_rows() fixes and update.

Signed-off-by: Norv <a.w.norv@gmail.com>