How many installs of Emacs do I have?

If you install Emacs via homebrew it installs both to /usr/local/bin and to /Applications.

$ ll -d /usr/local/bin/emacs /Applications/Emacs.app
lrwxr-xr-x  1 root     admin  34 Jan 12  2019 /Applications/Emacs.app@ -> /usr/local/opt/emacs-mac/Emacs.app
lrwxr-xr-x  1 verence  admin  50 Mar 27 20:02 /usr/local/bin/emacs@ -> ../Cellar/emacs-mac/emacs-26.3-z-mac-7.9/bin/emacs