[#1363] version api stats

Fixes #1363