code: def get_stats(package):
      
  
      grand_total = 0
  
      if '==' in package:
          package, version = package.split('==')
      try:
          package = normalize(package)
          version = None
      except ValueError:
          raise RuntimeError('No such module or package %r' % package)
  
      # Count downloads
      total, releases = count_downloads(
          package,
          json=True,
          version=version,
      )
  
      result = {
          'version': version,
          'releases': releases,
      }
  
      grand_total += total
  
      return result, grand_total, version
docs: Fetch raw statistics of a package, no corrections are made to this
      data. You should use get_corrected_stats().