Dhul Qarnain and Luqman are not considered prophets, whilst prophet Mohammed isn't usually counted in most literature since you know!!! It's prophet Mohammed!!
Edit: Just noticed Rebel's post. And started to wonder who is Ezra in the first place...few seconds and figured it out. And yes Rebel you are right, Ezra is the third one. Forget my last comment about Prophet Mohmmed.