Gets the number of pinned pages in this.
See [method@TabView.set_page_pinned].
a tab view
the number of pinned pages in this