Count sort support