'Returns the stats received from the backend.
If the query has not been run, this will execute the query and store
the results'

def get_stats(self):

    if (self._stats is None):
        self.run()
    return self._stats
