code: def count(self):
          
          total = 0
          for test in self.protocol_model.allTests():
              total += test.traceCount()*test.loopCount()*test.repCount() + test.repCount()
          return total
docs: Total number of all tests/traces/reps currently in this protocol
  
          :returns: int -- the total