Consider two arithmetic progressions: 4, 9, 14, 19, ... up to 25 terms and 3, 9, 15, 21, ... up to 37 terms. Find the number of common terms in these two sequences.