refactor(util) slice: add count