Runtime meters and counters can definitely be logged and stored in the PLC.
I have to mention that if you change a manual way of producing something to that it happens automatically, then you are creating a 'machine' (*), and then the Machinery Directive applies. Essentially you have to perform a risk assessment, decide safety measures, validate, document, test.
You would need someone who knows about the MD, it is way too difficult for someone jumping into it without previous knowledge.
I think you are an employer. If that is the case and an accident happens and the MD has not been followed, you can get into serious trouble.
Dont want to be a buzzkill, but it is better you are forewarned before deciding.
* edit: In this case it may be an 'assembly of machinery'. But that doesnt change that the MD must be followed.
If you have to modify the machinery to get them to work automatically, then it may be that the machines original CE mark and EU Declaration of Conformity are no longer valid.