Adding publish count methods.