Add Result::$num_rows and Result::$found_rows
Add pagination support