def colorize_count(str, count, colorize_method)
      str= str % [count]
      str= Colorize.send(colorize_method, str) if colorize_method and count != 0
      str
    end
def colorize_count(str, count, colorize_method)
      str= str % [count]
      str= Colorize.send(colorize_method, str) if colorize_method and count != 0
      str
    end
Creates an optionally-colorized string describing the number of occurances an event occurred.

 @param [String] str A printf-style string that expects an integer argument (i.e. the count)
 @param [Integer] count The number of occurances of the event being described.
 @param [nil, Symbol] colorize_method The method on Colorize to call in order to apply color to the result, or nil
   to not apply any coloring at all.