5. The detective wondered how many times he had come into the shop.
Ответ: The detective wondered how many times he had come into the shop.