Pie and slice are units of measurement for the concept pizza. Much like you don’t order “two pastas” saying “two pizzas” sounds stupid to people in the parts of US famous for pizza. Bread works the same way, it comes in loaves and slices. You don’t buy “two breads” without sounding stupid.