Jury gets a glimpse into costs of making a Katy Perry hit