Hi,
is there a way to get the number of events per transaction?
Yes if you use the transaction command a field called "eventcount" is added to your results.
It is mentioned in the documentation of the transaction command http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction