countLines.m - needs work