Plumbing cuts through five studs. Is ok?
If the wall is non bearing, I would say no problem, the cabinets that go in will keep everything stable since there are more studs past the notched ones.

But what I see is a potential bearing wall, therefore a big problem if it is. Carpenters will not put 5 studs tight together for the fun of it, it would have a purpose, especially if the wall continues past it. Otherwise I would say they made the wall too short and added a few more to make it long enough.