fix headless sentence entity count bug. test anonymous entityid