`c = len([i for i in a.args if i.is_Pow and i.exp == S.Half])`