Only count categories if count is turned on