It rained three times during the trip.

Literal

Trip-during [time-に] rain [subject-が] three-times fell.

雨が降る (rain falls) is the standard expression for 'it rains' — Japanese makes rain the grammatical subject. 三回 (three times) uses the counter 回 for occurrences.