3. Given that the perimeter of a triangle is less than 15, the lengths of its three sides are all prime numbers, and one of the sides has a length of 3. How many such triangles are there?
(A) 4
(B) 5
(C) 6
(D) 7
$3 . B$