<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def canceled_plan_summary_for(self, year, month):
 		"""Return Subscriptions canceled within a time range with plan counts annotated."""

		return (
			self.canceled_during(year, month)
			.values("plan")
			.order_by()
			.annotate(count=models.Count("plan"))
		)