code: func GetSigOpCount(script []byte) int {
  	// Don't check error since parseScript returns the parsed-up-to-error
  	// list of pops.
  	pops, _ := parseScript(script)
  	return getSigOpCount(pops, false)
  }
docs: // GetSigOpCount provides a quick count of the number of signature operations
  // in a script. a CHECKSIG operations counts for 1, and a CHECK_MULTISIG for 20.
  // If the script fails to parse, then the count up to the point of failure is
  // returned.