def oldgc(phenny, input):
 query = input.group(2)
 if (not query):
  return phenny.reply('.gc what?')
 query = query.encode('utf-8')
 num = formatnumber(google_count(query))
 phenny.say(((query + ': ') + num))

def oldgc ( phenny , input ) : query = input . group ( 2 ) if ( not query ) : return phenny . reply ( '.gc what?' ) query = query . encode ( 'utf-8' ) num = formatnumber ( google_count ( query ) ) phenny . say ( ( ( query + ': ' ) + num ) )
returns the number of google results for the specified input .