Added plain counting of rows