Join implemented

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
Rows count field added to table header

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>