what is the max number of displayport monitors with a Radeon™ RX 580 ?

I see there are 3 display ports on the Radeon™ RX 580, and I'm wondering what the max number of monitors I can hook up is. I'm thinking about getting an mst hub and splitting one of the ports into 4, and then using an onboard port as well for a total of 5 monitors. will this work?