Added the get category sum