Add code for the caclulating the number of items in a Category