Added getter for total_rows information on view results

The total_rows information cannot be accessed right now via `Result` objects and the getter would make this possible. Would that be a acceptable solution to you @beberlei?