An abundance of small exoplanets around stars with a wide range of metallicities