Dave had 10 apps on his phone. He added 11 new apps. After deleting some he had 4 left. How many apps did he delete?