start_date = datetime.date(2016, 11, 22)
groups = small_df.groupby(['Comp_ID', 'item_number']).date
groups.apply(lambda x: count_consec_dates(x, start_date))
Pandas count consecutive date observations within groupby object