Report question

Question: Counting regex pattern matches in one line using sed or grep?