A restaurant served two pies during lunch and three pies during dinner today. It served 9 of them yesterday. How many pies were served today?