adding category stats endpoint