Twitter GET statuses/user_timeline returning too few records

Solution 1:

Some applications use count to fetch a number of entries and if the available amount is below then it fills null or returns an array short of the target number.

In this case, Twitter has detailed count means "best thought of as a limit to the number of Tweets to return because suspended or deleted content is removed after the count has been applied.".

Twitter also notes that the count includes retweets even if include_rts is not supplied.

https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-user_timeline