Drupal statistics does not count visits when I see the node from a custom panel
It's because panels doesn't invoke node_view(). Please try following code:

function MODULE_ctools_render_alter(&amp;$info, &amp;$page, &amp;$context) {
  if ($context['handler']-&gt;task == 'node_view') {
    $key = $context['handler']-&gt;conf['context'];
    $node = $context['contexts'][$key]-&gt;data;
    statistics_node_view($node, 'full')
  }
}