code: public Long getCount(String type) {
  		MultivaluedMap<String, String> params = new MultivaluedHashMap<>();
  		params.putSingle(Config._TYPE, type);
  		Pager pager = new Pager();
  		getItems(find("count", params), pager);
  		return pager.getCount();
  	}
docs: Counts indexed objects.
  @param type the type of object to search for. See {@link com.erudika.para.core.ParaObject#getType()}
  @return the number of results found