Vulkan atomic counters

When compiling GLSL programs that used atomic counters to SPIR-v (glslangValidator -V …) I encounter:
‘atomic counter types’ : not allowed when using GLSL for Vulkan.

The code:
uniform atomic_uint counter

So, how do we use atomic counters with Vulkan?

Vulkan does not support atomic counters. You will have to use regular image load/store or storage buffers to get that functionality.

As expected. Alright, thanks.