
    The People of the State of New York, Respondent, v Cori D. Buckman, Appellant.
    [934 NYS2d 920]
   Memorandum:

Defendant appeals from a judgment convicting him upon his plea of guilty of criminal possession of a weapon in the second degree (Penal Law § 265.03 [3]) and criminal possession of a weapon in the third degree (§ 265.02 [1]). We reject defendant’s contention that his waiver of the right to appeal was invalid (see generally People v Lopez, 6 NY3d 248, 256 [2006]). Although defendant’s further contention that his plea was not knowingly, voluntarily and intelligently entered survives his valid waiver of the right to appeal, defendant failed to preserve that contention for our review (see People v VanDeViver, 56 AD3d 1118 [2008], lv denied 11 NY3d 931 [2009], reconsideration denied 12 NY3d 788 [2009]). Defendant also failed to preserve for our review his contention that the second violent felony offender statement filed by the People did not comply with CPL 400.15 (2). In any event, we conclude that there was substantial compliance with that statute in this case (see People v Myers, 52 AD3d 1229 [2008]), inasmuch as defendant “received adequate notice and an opportunity to be heard with respect to the prior conviction[s]” (People v Ruffin, 42 AD3d 582 [2007], lv denied 9 NY3d 881 [2007]). As the People correctly concede, however, County Court erred in failing to impose a sentence for each count of which defendant was convicted (see CPL 380.20). We therefore modify the judgment by vacating the sentence, and we remit the matter to County Court for resentencing (see People v Sturgis, 69 NY2d 816, 817-818 [1987]; People v Bradley, 52 AD3d 1261 [2008], lv denied 11 NY3d 734 [2008]). Present — Scudder, P.J., Centra, Fahey, Garni and Sconiers, JJ.  