When we talk about the total amount of night sleep, and what most babies need to be well rested, those numbers are typically inclusive of short age-appropriate feedings. Unfortunately it's not a black-and-white answer as we might look at other factors when determining whether a baby is getting enough night sleep, such as the total amount of time in bed. We would be more likely to subtract longer wake times (whether feeding or not), especially in older babies.
It's also important to remember that there's a range of normal and we don't recommend focusing on the total hours alone. The total hours should be viewed as a guide; a child's mood and energy levels are also important when determining whether your little one is getting enough sleep.