The compiler might be smart enough to eliminate the intermediate
variable, but the code is less clear and separating the population
of intermediate with its use risks potential mismatches in the future
when code is modified.
Use lookup() to handle default values (const-access) and the operator()
to create new zero-initialized entries if required: