def expanding_count(arg, freq=None):
 return ensure_compat('expanding', 'count', arg, freq=freq)

def expanding_count ( arg , freq = None ) : return ensure_compat ( 'expanding' , 'count' , arg , freq = freq )
expanding count of number of non-nan observations .