! count() doesn't work too well on non-array objects...

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>