Clean-up the separate drivers' DB result classes from no longer needed methods
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index fb3cff3..ee0b612 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -68,9 +68,20 @@
 	 */
 	public function num_rows()
 	{
-		return is_int($this->num_rows)
-			? $this->num_rows
-			: $this->num_rows = 0;
+		if (is_int($this->num_rows))
+		{
+			return $this->num_rows;
+		}
+		elseif (count($this->result_array) > 0)
+		{
+			return $this->num_rows = count($this->result_array);
+		}
+		elseif (count($this->result_object) > 0)
+		{
+			return $this->num_rows = count($this->result_object);
+		}
+
+		return $this->num_rows = count($this->result_array());
 	}
 
 	// --------------------------------------------------------------------