Add. `count` and `at` functions