The noun quagma can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be quagma.
However, in more specific contexts, the plural form can also be quagmas e.g. in reference to various types of quagmas or a collection of quagmas.