Added function for retriving the size of an app from the DB