title: have anyone work on xcrud
body: <p>i have two table  subject_list  and questions
   subjectId is foreign key in question table.</p>
  
  <p>i am displaying subject table using xcrud, and also
   i want to count number of question in  particular subject which will come from question table.</p>
  
  <pre><code>$this-&gt;load-&gt;library('loadxcrud');
  echo Xcrud::load_css();
  
  $xcrud = Xcrud::get_instance();
  $xcrud-&gt;table('subject_list');
  $xcrud-&gt;columns("subject_name,description,id");
  $xcrud-&gt;fields("subject_name,description");
  $xcrud-&gt;label("id", "No. of questions");
  //$xcrud-&gt;join('id','question_details','subject_id');
  $xcrud-&gt;before_insert('checksubjectexist');
  $xcrud-&gt;before_update('checksubjectexistupdate');
  $xcrud-&gt;pass_var("entry_by", 1);
  $xcrud-&gt;validation_required('subject_name,description');
  
  $xcrud-&gt;limit(5);
  $xcrud-&gt;unset_edit(FALSE);
  $xcrud-&gt;unset_add(FALSE);
  $xcrud-&gt;unset_view(FALSE);
  $xcrud-&gt;unset_print(FALSE);
  $xcrud-&gt;unset_csv(TRUE);
  $xcrud-&gt;unset_search(FALSE);
  $xcrud-&gt;unset_title(TRUE);
  $xcrud-&gt;unset_remove(TRUE);
  echo $xcrud-&gt;render();
  </code></pre>
  
  <p>please help me if you can</p>