- nb_missing = sum( [
- x[2] for x in picoclvr.nb_missing_properties(
- descr,
- height = self.height, width = self.width
- )
- ] )
+ np = picoclvr.nb_properties(
+ descr,
+ height = self.height, width = self.width
+ )
+
+ nb_requested_properties, _, nb_missing_properties = zip(*np)