count Y and count lines
documentation upgraded