PHP 7.2 related error in Forminator Pro

When I try to view votes of the poll, I see the following error:
Warning: count(): Parameter must be an array or an object that implements Countable in /app/public/wp-content/plugins/forminator/admin/views/poll/entries/content.php on line 41