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

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #1068 from Oldiesmann/release-2.1

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