properly counts topics