Remove key from JSON
Fix bug in count