Sorry! DataFramesMeta.jl recently made the change to have :x on the LHS instead of x. This will work
using DataFramesMeta
function analysis_ID_better(df::AbstractDataFrame)
@chain df begin
groupby(:ID)
@combine Count_sum = sum(:Count)
end
end