initial impl of getItemTypeCounts() - to be replaced by server side operation
call getItemTypeCounts from home controller