Add getObjectCount() method to PackFile