Kullanım kodunuzun başındaki function ibaresini silerseniz çalışacaktır.

function row_count($table, $column = NULL,  $data = NULL){
  echo $table;
  echo $column;
  echo $data;
}

row_count("table");
row_count("table", "column", "data");