Getting row counts of different columns in one query in MySQL

Code
SELECT COUNT(*) AS amount3 
    FROM history
    WHERE status = 3;

SELECT COUNT(*) AS amount1 
    FROM history
    WHERE status = 1;

SELECT
    SUM(status = 1) AS amount1,
    SUM(status = 3) AS amount3
    FROM history;
Result
amount3
254


amount1
279


amount1amount3
279254


Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8