I guess you can use where clause author.email = 'xxx@example.com' and properties list objectId, text, count(comment.objectId). See also this page for count aggregation function documentation: https://backendless.com/docs/rest/data_count.html
Just another followup question on that. I know how I would do count on the comments if I am doing query on the comment table as per your example. But in my above example, the query is issued against the BlogPosts, would I still be able to get the comments count where the comment is 1:1 to Blog post (not the other way around). If I use your suggestion above, there is no comment column in the blog posts, so how does the api know I am looking for count on comments that are mapped to blog posts? Does my question make sense?