Add first version of numlines codec