Racelog counting initial version + tests.