Photos logic updated, album photos counting implemented