A whole bunch of stuff for the finance page

Basic functionality, counting, filters, fixes…