The grid configuration for an aggregated precomputed aggregate value. This requires an attribute property, because the numeric aggregation requires it.
If you just want to count the features in each grid cell, use the CountGridConfig instead, where you are not required to specify an attribute.