Some of these commands and shortcuts are based off my own .vimrc file, so it may not work for your setup when you try performing some of the below commands.
:Ag count app/controllers
:Ag #navigation-wrapper app/assets/stylesheets
space + n
space + t
q w (then do the commands you'd like repeated)
q again to stop recording
@w (to initiate most recent macro)