How can I code conditional statements for the number of total items using the DataObjectManager module?
My code does NOT work but it demonstrates what I need:
<% if GetSliderItems %>
<% control GetSliderItems %>
Item Stuff Here
<% end_control %>
<% if count(GetSliderItems) === 1 %> 1 Item <% end_if %>
<% if count(GetSliderItems) === 2 %> 2 Items <% end_if %>
<% if count(GetSliderItems) === 3 %> 3 Items <% end_if %>
<% end_if %>