Reduce count(not null) to count()