def METHOD_NAME(self, a, b):
    n_better = 0
    n_worse = 0
    for f in self.minimize:
        n_better += a[f] < b[f]
        n_worse += a[f] > b[f]
    for f in self.maximize:
        n_better += a[f] > b[f]
        n_worse += a[f] < b[f]
    return n_better, n_worse