jquery count number of lines in div