Changed IsVisible to VisibleCount, fixing #7.