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