Problem

Return total digit chars in s.

Examples

  • matrixDigits("a1b22") -> 3
Compile and test (Ctrl+Enter)