# File lib/ice_cube/validations/count.rb, line 6 def occurrence_count (arr = @validations[:count]) && (val = arr[0]) && val.count end