<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def countRemovedDataProducts(self):
 """Returns number of DPs marked for removal"""

        return len([item for item, dp in self.wdplv.getItemDPList() if dp.policy == "remove"])