check tweets/followers array length instead of object length

* Fixes an issue where returned results weren't getting shown in the front-end due to some buggy error-handling code