Mucus plug or regular discharge?

It was only about the size of a mini m&m, but it was one piece that came out, not bloody. I’m a first time mom and only 23 weeks, I’m not sure how much a mucus plug should be?