limited the count when fetch plans