Fix Bug 883883 - Return total matched hits to makeapi callbacks

https://bugzilla.mozilla.org/show_bug.cgi?id=883883