Passing paragraph count into view