[fix bug 978694] Count hits to API Resources.