Fix make count when modifying ql2.proto

Review 2044 by @larkost
Closes #2965