Is this default parameter (and the one at L51, `get_count`) getting you anything? You're the only caller, and it appears that the only calling point always supplies an int. The default param looks like a potential source of bugs to me.