Thanks to Keith Clarke for the code posted here: https://salesforce.stackexchange.com/questions/84256/counting-query-results-and-displaying-them-in-v... I used that and adapted it and it worked a treat :-)
Thank you for contacting me. I will get back to you as soon as possible.