code: def count(self, strand, pseudo=False):
          '''Enumerates the total number of secondary structures over the
          structural ensemble Ω(π). Runs the \'count\' command.
  
          :param strand: Strand on which to run count. Strands must be either
                         coral.DNA or coral.RNA).
          :type strand: list
          :param pseudo: Enable pseudoknots.
          :type pseudo: bool
          :returns: The count of the number of structures in the structural
                    ensemble.
          :rtype: int
  
          '''
          # Set up command flags
          if pseudo:
              cmd_args = ['-pseudo']
          else:
              cmd_args = []
  
          # Set up the input file and run the command
          stdout = self._run('count', cmd_args, [str(strand)]).split('\n')
  
          # Return the count
          return int(float(stdout[-2])f count(self, strand, pseudo=False):
          '''Enumerates the total number of secondary structures over the
          structural ensemble Ω(π). Runs the \'count\' command.
  
          :param strand: Strand on which to run count. Strands must be either
                         coral.DNA or coral.RNA).
          :type strand: list
          :param pseudo: Enable pseudoknots.
          :type pseudo: bool
          :returns: The count of the number of structures in the structural
                    ensemble.
          :rtype: int
  
          '''
          # Set up command flags
          if pseudo:
              cmd_args = ['-pseudo']
          else:
              cmd_args = []
  
          # Set up the input file and run the command
          stdout = self._run('count', cmd_args, [str(strand)]).split('\n')
  
          # Return the count
          return int(float(stdout[-2]))
docs: Enumerates the total number of secondary structures over the
          structural ensemble Ω(π). Runs the \'count\' command.
  
          :param strand: Strand on which to run count. Strands must be either
                         coral.DNA or coral.RNA).
          :type strand: list
          :param pseudo: Enable pseudoknots.
          :type pseudo: bool
          :returns: The count of the number of structures in the structural
                    ensemble.
          :rtype: int