Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I know that a bag of candy is counted as fukuro. Are the pieces counted differently based on the shape, long, thick, square, round, triangular, or is everything ko?
I personally would use 個 (こ). That should work alright for what you are trying to do.
Required, but never shown