Fix #158: count markers only in current view