---
url: >-
  https://lit-ui-router.dev/api/lit-ui-router-ssr/testing/interfaces/RetainedCount.md
---
[lit-ui-router-ssr](../../index.md) / [testing](../index.md) / RetainedCount

# Interface: RetainedCount

Defined in: [packages/lit-ui-router-ssr/src/testing.ts:23](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L23)

What the boot did to the stamped elements.

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `added` | `number` | Elements under the root that were not stamped: a re-rendered view, or what a component drew in `firstUpdated`. | [packages/lit-ui-router-ssr/src/testing.ts:31](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L31) |
|  `removed` | `number` | Stamped elements the boot dropped; a hydrated page keeps this at 0. | [packages/lit-ui-router-ssr/src/testing.ts:29](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L29) |
|  `retained` | `number` | Stamped elements still under the root. | [packages/lit-ui-router-ssr/src/testing.ts:27](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L27) |
|  `served` | `number` | Elements stamped before the boot. | [packages/lit-ui-router-ssr/src/testing.ts:25](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L25) |
