Parse and store in DB reference frame count for video streams