def count(self):
        """Total number of all tests/traces/reps currently in this protocol

        :returns: int -- the total
        """
        total = 0
        for test in self.protocol_model.allTests():
            total += test.traceCount()*test.loopCount()*test.repCount() + test.repCount()
        return total