getting tally() to work better with dply and mosaic
auto update