Get the last event number using lognewest with the dsjob command. That will give you the number of entries present in your entire log file. If you want number of enteries for the latest run then you need to get lognewest before the job starts and after it ends. Subtract them and that will give you the number of log enteries.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.