Fixes "total_count not defined" error for Facebook. 

When 'data-url' omitted and host is 'localhost' :)