SELECT COUNT(*) FROM replies WHERE reply_id=? $sth->execute($q->param('id')