Adding condition for points_count in order to catch incorrect input.