put category idea count into array for data vis