counting lines / allocating data benchmarks