Add COUNT as an aggregation in derived slices

This also fixes a subtle bug with the new ez-load functions for the loader.