5. (1986, Shanghai) The three sides of a triangle are all positive integers, one of which has a length of 4, but it is not the shortest side. How many different triangles are there? ...



The translation is provided while retaining the original text's line breaks and format.
(8).

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.