Added countSort with documentation for each operation