Install libclass-dbi-plugin-abstractcount-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libclass-dbi-plugin-abstractcount-perl
Description:
Class::DBI plugin to get COUNT(*) results with abstract SQL
The Class::DBI::Plugin::AbstractCount module combines the functionality from Class::DBI::Plugin::CountSearch (counting objects without having to use an array or an iterator), and Class::DBI::AbstractSearch, which allows complex where-clauses a la SQL::Abstract.
Homepage: http://search.cpan.org/dist/Class-DBI-Plugin-AbstractCount/
Version: 0.08-1
Section: universe/perl