Why is it not counting members correctly? (Also not a complete list of participants with names.)
console.log(`Number of participants on the server: ${msg.guild.members.cache.size}`)
msg.guild.members.cache.forEach(element => {
console.log(element.user.username)
});