(Komments Plugin) Can't use function return value in write context

Hi,
might be a newbie question, but I just configured the Komments plugin by mauricerenck and wanted to make an if-statement to check if there are no comments. But something does not work out.

<?php if (count($komments['replies']) > 0) : ?>
    <ul class="list-replies">
        <?php foreach ($komments['replies'] as $komment) : addReply($komment); endforeach; ?>
    </ul>
<?php endif; ?>

<?php if (count($komments['replies']) = 0) : ?>
    <div>keine Kommentare</div>
<?php endif; ?>

In the webmention-splitted.php, I added the bottom if-statement, but I get the error "Can't use function return value in write context".

Thanks in advance!

Should be

<?php if (count($komments['replies']) === 0) : ?>

Oh, you’re right. How could I miss that… Thanks for pointing it out.