WRONG
<ul>
<?php query_posts('meta_key=post_views_count&orderby=meta_value_num&order=DESC'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><?php the_title(); ?> ( <?php setPostViews(get_the_ID()); echo getPostViews(get_the_ID()); ?> )</li>
<?php endwhile; endif; wp_reset_query(); ?>
</ul>
CORRECT
<ul>
<?php setPostViews(get_the_ID()); ?>
<?php query_posts('meta_key=post_views_count&orderby=meta_value_num&order=DESC'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><?php the_title(); ?> ( <?php echo getPostViews(get_the_ID()); ?> )</li>
<?php endwhile; endif; wp_reset_query(); ?>
</ul>