Is there an efficient way to know how many elements are in an iterator in Python, in general, without iterating through each and counting?

Is there an efficient way to know how many elements are in an iterator in Python, in general, without iterating through each and counting?