Revert "typedef size_t size_type"

This reverts commit 5911afb80b73a7060116de80e1cbfa852f8406ab.