Count items in nested field array for if/then in template
You can use field_get_items api function to read values.

&lt;?php

$images = field_get_items('node', $node, 'field_media');
if (count($images) &gt; 1) {
  // Print Carousel
}
?&gt;