unsigned nb_chiffres(const char s[])
{
  unsigned i, n;

  for (n = i = 0; s[i]; i++)
    if (s[i] >= '0' && s[i] <= '9')
      n++;

  return n;
}
