I have observed your comments regarding line count inside table cell and regret to share that there is no option available to calculate the line counts inside table cell. It is all dynamic and depend on font size, font type and even cell dimensions. There is no such option available in API and even in PowerPoint to find the line count for the text inside table cell. Please share, If I may help you further in this regard.
We are sorry for your inconvenience,