Count the number of rows written in HDFTable.
Add the "first" field to events table.

It points to the row of the first particle in the event (the value
is the row number in the particles table).