Describe the bug
SELECT count(null) FROM test returns 5, i.e. it counts null as a not-null value.
To Reproduce
Add a test SELECT count(null) FROM test
Expected behavior
It should return 0, same as SELECT count(null::int) FROM test e.g. if we cast the null to another type.
Additional context
Confusing Arrow behaviour (but they will not change it): apache/arrow-rs#4838