I feel your pain. Last week I just gave up and wrote my UTF-8 to UTF-32 conversion routine. It took me far less to do that than I spent looking for a standard solution.
a) conversion was exactly what was provided but C++11, before they deprecated it
b) plenty of staff that the standard library does is complicated! Some of it also seems less fundamental than handling plain text.
If you are writing some software that requires counting the number of characters in a string you should stop and rethink why you're trying to do what you're doing.
(The function is defined as static in the cpp file where RTL detection is done, with a warning that is not general purpose)