Count how many empty list are in a list
<p>I am trying to find out how many empty list are in a list of list.
I tried counting how many list are the length of 1 but in python it is giving me the length of <code>[]</code> is 0 but the length of <code>[3,[]]</code> is 2.  Is there a way that I could count how many empty list are in a list.</p>

<p>Example list</p>

<pre><code>[[1,[2,3,4],['hello',[]],['weather',['hot','rainy','sunny','cold']]]]
</code></pre>

<p>so I want to count the hello list as either 1 or count how many empty list are in this total string, which is 1.</p>