In order to count the set bits in a size_t[n], I\'ve created a LUT[256] with pre-calculated number of set bits per a single byte.
size_t[n]
LUT[256]
To use