A quick review of the process. They use a bucket loader to load wood chips into a grinder hopper. The ground material is fed by belt into the coloring machine hopper. Both the coloring machine hopper, and the grinder can vary in speed. Color and water are added to the wood, and then discharged onto a v-belt, which carries the end product to the correct pile. They are processing up to about 200 yards of material an hour, and from 40-80 gpm of water.
We are currently counting the wood being dumped into the machine from the front end loader, which is not very accurate to control to.
Several good methods have been mentioned (color sensor, weigh belt) but the most economical method is probably to weigh the wood in the grinder hopper. Install 3 or 4 load cells on the hopper supports, run the weigh to a loss-in weigh controller. Use the LIW controller to add proportional water and color to the coloring machine hopper as the wood is moved from the grinder to the colorer.
You would need the load cells, a summing box, a LIW controller, and 1 or two signal-controlled mixing valves. You may can add a fixed amount of water to each batch, and just vary the amount of dye based on wood weight.
The moisture content of the wood will affect results. The wetter the wood the less color it will soak up so will need more coloring dye, but also the wetter it is the heavier it will be, so if you base your color addition on wood weight, your system will be self-compensating for the moisture content. You may have to make a small adjustment at times in the ratio of color-to-wood weight. Eventually you could add a moisture detector on the belt between the two hoppers to automatically adjust the ratio based on moisture of the incoming wood, but for now you could have a PLC input (3-position selector switch maybe) to set 3 levels of wood moisture manually (dry, medium, wet).
A cheaper (but not as effective) method would be to use a ultrasonic or radar level detector in the grinder hopper to determine the height of the wood, after grinding. This height is multiplied times the hopper dimensions to determine the wood volume, then the color amount could be set proportional to the volume. This method would have no built-in self-compensation for the incoming wood moisture content. If the wood chips always come off an indoor dry pile, or a sawing operation for cured wood, then maybe the moisture does not vary significantly.