{
  "type": "Program",
  "body": [
    {
      "type": "ExportDefaultDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": null,
        "params": [],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "ObjectExpression",
                "properties": [
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "name",
                      "range": [
                        162,
                        166
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 4
                        },
                        "end": {
                          "line": 7,
                          "column": 8
                        }
                      }
                    },
                    "value": {
                      "type": "Literal",
                      "value": "count",
                      "raw": "'count'",
                      "range": [
                        168,
                        175
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 10
                        },
                        "end": {
                          "line": 7,
                          "column": 17
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      162,
                      175
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 4
                      },
                      "end": {
                        "line": 7,
                        "column": 17
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "initialValue",
                      "range": [
                        181,
                        193
                      ],
                      "loc": {
                        "start": {
                          "line": 8,
                          "column": 4
                        },
                        "end": {
                          "line": 8,
                          "column": 16
                        }
                      }
                    },
                    "value": {
                      "type": "Literal",
                      "value": 0,
                      "raw": "0",
                      "range": [
                        195,
                        196
                      ],
                      "loc": {
                        "start": {
                          "line": 8,
                          "column": 18
                        },
                        "end": {
                          "line": 8,
                          "column": 19
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      181,
                      196
                    ],
                    "loc": {
                      "start": {
                        "line": 8,
                        "column": 4
                      },
                      "end": {
                        "line": 8,
                        "column": 19
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "onUpdate",
                      "range": [
                        202,
                        210
                      ],
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 4
                        },
                        "end": {
                          "line": 9,
                          "column": 12
                        }
                      }
                    },
                    "value": {
                      "type": "FunctionExpression",
                      "id": null,
                      "params": [
                        {
                          "type": "Identifier",
                          "name": "prev",
                          "range": [
                            222,
                            226
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 24
                            },
                            "end": {
                              "line": 9,
                              "column": 28
                            }
                          }
                        }
                      ],
                      "body": {
                        "type": "BlockStatement",
                        "body": [
                          {
                            "type": "ReturnStatement",
                            "argument": {
                              "type": "BinaryExpression",
                              "operator": "+",
                              "left": {
                                "type": "Identifier",
                                "name": "prev",
                                "range": [
                                  243,
                                  247
                                ],
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 13
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 17
                                  }
                                }
                              },
                              "right": {
                                "type": "Literal",
                                "value": 1,
                                "raw": "1",
                                "range": [
                                  250,
                                  251
                                ],
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 20
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 21
                                  }
                                }
                              },
                              "range": [
                                243,
                                251
                              ],
                              "loc": {
                                "start": {
                                  "line": 10,
                                  "column": 13
                                },
                                "end": {
                                  "line": 10,
                                  "column": 21
                                }
                              }
                            },
                            "range": [
                              236,
                              252
                            ],
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 6
                              },
                              "end": {
                                "line": 10,
                                "column": 22
                              }
                            }
                          }
                        ],
                        "range": [
                          228,
                          258
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 30
                          },
                          "end": {
                            "line": 11,
                            "column": 5
                          }
                        }
                      },
                      "generator": false,
                      "expression": false,
                      "range": [
                        212,
                        258
                      ],
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 14
                        },
                        "end": {
                          "line": 11,
                          "column": 5
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      202,
                      258
                    ],
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 4
                      },
                      "end": {
                        "line": 11,
                        "column": 5
                      }
                    }
                  }
                ],
                "range": [
                  156,
                  262
                ],
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 9
                  },
                  "end": {
                    "line": 12,
                    "column": 3
                  }
                }
              },
              "range": [
                149,
                263
              ],
              "loc": {
                "start": {
                  "line": 6,
                  "column": 2
                },
                "end": {
                  "line": 12,
                  "column": 4
                }
              }
            }
          ],
          "range": [
            145,
            265
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 27
            },
            "end": {
              "line": 13,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          133,
          265
        ],
        "loc": {
          "start": {
            "line": 5,
            "column": 15
          },
          "end": {
            "line": 13,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Returns the definition of a collector that captures `count`\n * @return {Object} A `count` collector object\n ",
            "range": [
              0,
              117
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 0
              },
              "end": {
                "line": 4,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": []
      },
      "range": [
        118,
        265
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 13,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Returns the definition of a collector that captures `count`\n * @return {Object} A `count` collector object\n ",
          "range": [
            0,
            117
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 4,
              "column": 3
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    118,
    265
  ],
  "loc": {
    "start": {
      "line": 5,
      "column": 0
    },
    "end": {
      "line": 13,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * Returns the definition of a collector that captures `count`\n * @return {Object} A `count` collector object\n ",
      "range": [
        0,
        117
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 3
        }
      }
    }
  ]
}