Fetch and count part headers