Android Java Increment Wartość hashmap

int count = map.containsKey(word) ? map.get(word) : 0;
map.put(word, count + 1);
Grotesque Goose