array count can only be an integer