input: Write a python function to retweet tweets containing a specific hashtag using the tweepy library.
  assert len(retweet_hashtag('#python', 10)) == 10
  assert len(retweet_hashtag('#coding', 5)) == 5
  assert len(retweet_hashtag('#datascience', 0)) == 0
output: def retweet_hashtag(hashtag, count):
      import tweepy
  
      # Your credentials should be added here
      consumer_key = 'your_consumer_key'
      consumer_secret = 'your_consumer_secret'
      access_token = 'your_access_token'
      access_token_secret = 'your_access_token_secret'
  
      # Authenticate to Twitter
      auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
      auth.set_access_token(access_token, access_token_secret)
      api = tweepy.API(auth)
  
      retweeted_ids = []
      try:
          # Search for tweets containing the hashtag
          for tweet in tweepy.Cursor(api.search_tweets, q=hashtag, result_type="recent").items(count):
              try:
                  # Retweet the tweet
                  api.retweet(tweet.id)
                  retweeted_ids.append(tweet.id)
              except tweepy.TweepError as e:
                  print(f"Error on retweet: {str(e)}")
              except StopIteration:
                  break
      except tweepy.TweepError as e:
          print(f"Error on search: {str(e)}")
  
      return retweeted_ids