I actually just figured it out. I used the parallax effect. So I separated the photos into layers and made the numbers their own layer, brought them into after effects, created a camera layer, turned each photo layer into 3d and then animated the numbers. Thanks anyways for your help!