def countRemovedDataProducts(self):
        """Returns number of DPs marked for removal"""
        return len([item for item, dp in self.wdplv.getItemDPList() if dp.policy == "remove"])
def countRemovedDataProducts ( self ) : return len ( [ item for item , dp in self . wdplv . getItemDPList ( ) if dp . policy == "remove" ] )
Returns number of DPs marked for removal