containertools.rest_by_count — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# containertools.rest_by_count

`abjad.tools.containertools.` `rest_by_count`(container, i, rested_half, direction='automatic')
  Glom element on rested_half of index i in container. Transform glommed duration into rests. Return container.

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »