Add stats group for link_count queries

Change-Id: If4f0faf51c145d067996da70afb8842ad38ab106
(cherry picked from commit 6168cd44f1e901af886ef485a861c326a6e6a39c)
Merge "Add stats group for link_count queries" into wmf/1.24wmf22