#17, implement the method to calculate function points.