Regarding retweet counts in streaming API



I collected tweets from streaming API and I want to do retweet research. I just want to get retweet count for original tweet. But retweet count always shows me 0. How to solve this issue?

Like this:
Original tweet Retweet_count
text Int

And i am doing this with twitter4j


I resolved this issue:
Here is the solution,

if(line.contains("retweeted_status")){ Document retweets = (Document)old_status.get("retweeted_status"); new_status.append("retweetCount", retweets.getInteger("retweet_count")); }