Added var picsNeeded

//This line will calculate the amount of pictures needed to achieve goal