def count_timeline(timeline, options = { })
      options = {
        :only => [ ],
      }.merge(options)

      options[:only] = [ options[:only] ] if (options[:only] && !options[:only].is_a?(Array))

      self.driver.count_timeline_entries(timeline.kind, timeline.recipient_id, options)
    end
def count_timeline(timeline, options = { })
      options = {
        :only => [ ],
      }.merge(options)

      options[:only] = [ options[:only] ] if (options[:only] && !options[:only].is_a?(Array))

      self.driver.count_timeline_entries(timeline.kind, timeline.recipient_id, options)
    end
Count number of timeline entries

 @param timeline [Timeline] Timeline instance
 @param options  [Hash]     Options hash
 @option options [Array<Timeline::Route>] :only An array of routes to count
 @return [Integer] Number of timeline entries in given timeline