changed input parameter to accept the # of tweets