function countRowsWith(string $tablename, string $colName, $colValue) : int
    {
        $strSQL = "SELECT COUNT($colName) as count FROM $tablename WHERE $colName=:$colName;";
        return $this->getCountOf($strSQL, ["$colName" => $colValue]);
    }