Photoshop Metadata?

when i run the following script with a photoshop .jpg file i get 0 for the number of metadata tags. i know the file has EXIF data so what is going on? thanks.

 set the_file to choose file
tell application "Image Events"
	launch
	set the_file to open the_file
	set x to the count of metadata tags of the_file
end tell

I don’t know for sure if this is your problem but maybe…

Adobe changed the metadata tagging system used by Photoshop CS to an XMP based system. I haven’t had time to test and see how that works with Image Capture application in AppleScript. If AppleScript will recognize the new style tags or not.