Changing gas cost to zero at stackunderflow

That is a matter of taste. But even http://www.cplusplus.com/reference/map/map/find/ points to count if one only needs to check a value exists. Find is more intended towards using that result by returning a pointer to it. But since we only need to check whether the value exists or not, I prefer count over find.