Background:
The 2015 German-speaking community wishlist survey contains the following wish: T142209: Semi-protected pages that were fully protected should automatically return to previous state (#7)
A current hypothesis is, that the wish is only meant for pages with an indefinite protection status that change their protection level temporarily.
If that was so, how many pages would actually be relevant for the wish?
Task:
Please find out, how many existing pages (i.e. page-id != 0) on de-wiki currently have a protection status that is indefinite?
Please seperate by protection status.