class FctWithCount(object):
    def __init__(self, fct):
        self.fct = fct
        self.number_of_calls = 0