Refactoring LOV STATS (so close)

generation of the LOV stats page