add generation of category stats
add category stats