Adding debug to story counting.