The COUNT(*) column is very special in materialized views.
Add another test case with a normal COUNT(*) and an expression around any other agg.