Limit number of iterated elements from an iterable.
iterator – The iterable
count (int) – The maximum count. -1 = unlimited
int