How to count EMOJI in a string or text line and display the output, how many emoji are in the text line or string?
For example:
The accepted answer does not work in every case, such as the ❤️ emoji which is counted as 0 and some emojis are counted as more than '1' like the
❤️
0