Allow count values for category and item to be optional, or only require one