There is probably error in the docs. According to docs there should be “reply_count” attribute on tweet object. But this attribute is missing on tweet object when requesting tweets using some of the Twitter API endpoints.
This is a mistake in the documentation - it should be clarified that the
quote_count fields are only available from the premium and enterprise API endpoints. We will get this fixed. Thank you.