I have a framework that has a database backend that relied on some default behaviour of count() where if you don't put in an array, it would just return 0 and not error.
Broke in 7.x because it would now warn now... I don't remember what it returns now but that was a thing...