added getPointCount
added getPointCount