OO Mysqli actually has more than one object, you just need to call num_rows from the result object instead of the db object:
$result_handle = $db_handle->query("SELECT * FROM users WHERE (username = '$username' & password = '$epassword')");
if($result_handle)
{
$result_handle->store_result(); // if all you're doing is getting num_rows
$nr = $result_handle->num_rows;
//note that num_rows will screw up until you run though every fetch or use store_result or anything that does the same.
}
else
{
//stuff for if query failed
}