Fix wrong call for public count