code: def count(self, model, context):
          
          SELECT_COUNT = self.statement('SELECT COUNT')
  
          try:
              sql, data = SELECT_COUNT(model, context)
          except orb.errors.QueryIsNull:
              return 0
          else:
              if context.dryRun:
                  print sql % data
                  return 0
              else:
                  try:
                      rows, _ = self.execute(sql, data)
                  except orb.errors.EmptyCommand:
                      rows = []
  
                  return sum([row['count'] for row in rows])
docs: Returns the count of records that will be loaded for the inputted
          information.
  
          :param      model   | <subclass of orb.Model>
                      context | <orb.Context>
  
          :return     <int>