Hey there @dylix! Thanks for calling out that total_photo_count is no longer returning a value.
With the introduction of video, we ask that you refer to the photos section of the response. This will include the total count, and also a media_type to inform whether the media is photo or video. Hope this helps and thanks again for flagging that. We'll be sure to take a look and update our docs accordingly.