I was able to find 7 that recorded Jesus saying that He is the way. All of them in the book of John. The other three gospels talk about it,and mention Jesus talking about it in parables but I couldn't find that He directly says it except in John.
chapts 5:24, 6:35, 6:40, 6:47, 11:25-26, 12:44, and John 14:6 (Jesus said to him, "I am the way, and the truth, and the life; no one comes to the Father but through Me.)
If you want to try to find more, there are some great concordance websites like crosswalk.com and heartlight.org
If this helped, please click on accept.
thanks. Celi