% This is generated by ESQL's DateUnitCountTests. Do not edit it. See docs/reference/query-languages/esql/README.md for how to regenerate it.

## Parameters

`to_unit`
:   The unit to count.

`from_unit`
:   The enclosing container unit.

`date`
:   Date expression.

