Hi everyone, i am need to Arduino products. I am looking to use the Arduino for a special project for our machines. We produce plastic bags. I need the Arduino to work as a timer , meaning our machine continuously produces plastic bags from film. There is a electronic counter on the machine to notify the operator when the count is full ( example if we are packing 100 bags in a box), Then the counter resets. I want to measure the time between each bag, then use that time in a formula to calculate how many pounds it produce per hour. I need a variable to input for the weight of the bag, then calculate the pounds per hour based on 3600 seconds divide by the time of the bag x the bag weight. also I need to sometimes use a count of ten bag times instead of each bag, because the bags are extremely small.

Any help will be greatly appreciate