@property
    def num_views(self):
        return len([a for a in self.relations() if isinstance(a, View)])
The number of views in the database
dataset/ETHPy150Open coursera/dataduct/dataduct/database/database.py/Database.num_views