The limit is zero if they're not useful, as in this case.
Unless the emojis play a fundamental role in the question (see below), they're completely unnecessary and should be removed as soon as possible.
It is appropriate if a question includes emojis because it asks about them.
If emojis are present in code blocks but the emojis themselves or their behavior are not being asked about (such as emojis in code comments), you should remove them. Otherwise, leave them be.
In general, if they don't add any value to the question, remove them.
Example of bad use of emojis in titles:
😤🤷♂️ Selenium - Scroll --> navigate next page (scrolling to top) --> navigate back check scroll position
Example of good use of emojis in titles:
Why does printing the emoji "Man shrugging" (🤷♂️) cause a "Male" emoji (♂️) to be displayed?