Fix blog layout

The calculation for the rowcount in the blog layout is wrong and caused havoc on the template under certain settings.
This PR fixes the calculation and makes it also a bit simpler.

Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32375&start=0