Improve comment count methods and tests, move markdown functionality