The noun undecency can be countable or uncountable.
The singular form of undecency is also undecency.