Use localised count

Variable was previously unused. This is what I think the author intended
to do.

Change-Id: Ibc2fadf2266c8d91f5b4a05701f3a9fda5281092
Merge "Use localised count"