out count: bugfix json