Too much caffeine

I got a medium peanut butter cup swirl iced coffee today and it was 267 milligrams of caffeine is that bad because I’m pumping milk for my son in the NICU ? Or is it okay? Also had a Kit Kat earlier . Am I going over my caffeine intake for breastfeeding