Add count to references heading

This is a prerequisite for bug 62527.

Change-Id: Iea22c221b125417a9b95eadc0bb5d66c8616b9d8
Merge "Add count to references heading"