Add a check regarding the number of occurrences of ```
# What does this PR do?

We have `TFOPTForCausalLM` doctest failed due to the wrong expected value. The file `prepare_for_doc_test.py` didn't change that model file. It comes from the existence of **``decoder_input_ids```**.

This PR adds a check, and also fixes all problematic places found with this new check.
_The documentation is not available anymore as the PR was closed or merged._