count should be JSON