how many triangular bases are there among three square pyramids, and two pentagonal pyramids that Jayla sees on her trip to Egypt

There are a total of two triangular bases among the three square pyramids and two pentagonal pyramids that Jayla sees on her trip to Egypt.