def count_with_erb(filename, hsh={})
      return if ::ServiceMock.disable_stubs
      yield self if block_given?
      template = File.open(filename, 'rb') { |file| file.read }
      erb_content = ERB.new(template).result(data_binding(hsh))
      count(erb_content)
    end
def count_with_erb(filename, hsh={})
      return if ::ServiceMock.disable_stubs
      yield self if block_given?
      template = File.open(filename, 'rb') { |file| file.read }
      erb_content = ERB.new(template).result(data_binding(hsh))
      count(erb_content)
    end
Get the count for the request criteria using the erb template
 provided.  The +Hash+ second parameter contains the values to be
 inserted into the +ERB+.