I'm using list comprehension to get counts of value of a key in each dictionary yielded by a generator, but I'm not sure if I'm using the right syntax, because I get 0 results:
ln_is = [d['url'] for d in generator if d['url_source'] is '"http://ln.is']
I am sure that the dictionaries in this generator has those values.