<?php

  /**
   * Return number of items in array
   *
   * @param array $what
   * @return integer
   */
  function smarty_modifier_count($what) {
    return count($what);
  } // smarty_modifier_count