Count vtgate endpoint queries

Review: https://codereview.appspot.com/133770044/