Usage: Count [device] [counts] -timeout [timeout_device] [timeout_counts] -start [start_device] -p
[device] is the device to count.
[counts] is the number the device is going to count.
Optional -timeout flag, [timeout_device] and [timeout_counts] parameters set a counter device that will timeout after a given number of counts. If [timeout_device] timeouts, counting will be interrupted and counter [device] will be disarmed.
Optional -start flag and [start_device] parameter specify the device that will be armed before counting begins. This device will be disarmed after counting is finished.
Optional -p flag instructs the server to print values of all counter devices in the system after counting.