Starting with a dictionary:
```swift
var dictionary: [Value: Int] = [:]
```
I wanted to increment the number of times I came across the `Value`. The best way to do it is pretty simple:
```swift
dictionary[value, default: 0] += 1
```
The `default` subscript comes in handy.