Moar progress on the .count() also starting on tests
Fixes Code.count and renames it to Code.n_splits, adds more tests