Pythonic or is there a better way?

Would you consider the following piece of code to be Pythonic?

imageCount = 0
for imageObject in imageObjects:
    imageCount += 1

Me, I'd try len(imageObjects).

···

On Wed, Mar 8, 2017 at 5:21 PM, Boštjan Mejak <bostjan.xperia@gmail.com> wrote: