WIP: Capture per-feature counts for snapshot

This isn't quite finished. I'm tempted to wait until @domdere has finished with adding a new metadata file and storing the values on save once. Unless we think this is worth doing sooner.
Wasn't sure whether to just add `Order` and be done with it