class Jekyll::Algolia::Site

def indexable_item_count

Public: Return the number of pages/documents to index
def indexable_item_count
  count = @pages.length
  @collections.each_value { |collection| count += collection.docs.length }
  count
end