title: How to use the 'count' parameter in tweepy's streaming API?
body: <p>I can use the streaming API just fine when I don't include the <code>count</code> parameter in <code>filter()</code> call, but when I try to specify how many tweets from my history I want to receive, my stream object returns <code>None</code>.</p>
  
  <pre><code>import tweepy
  from tweepy.streaming import StreamListener, Stream
  
  class Listener (StreamListener):
      def on_status(self, status):
          print '-' * 20
          print status.text
          return
  
  def get_tweets(request):
      # if request.is_ajax():
      # All keys and secrets are declared here, but were removed for security reasons.
  
      auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
      auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
      api = tweepy.API(auth)
      listener = Listener()
      stream = Stream(auth, listener)
      stream.filter(follow=("14739093",), count=-5)
  </code></pre>
  
  <p>I also tried the following, to see what it was returning.</p>
  
  <pre><code>&gt;&gt;&gt; something = stream.filter(follow=("14739093",), count=-5)
  &gt;&gt;&gt; print something
  None
  </code></pre>
  
  <p>Thanks for your help!</p>