SELECT
    COUNT(*) AS `count`
FROM
    placements
WHERE
    "%s" BETWEEN startmonth AND endmonth
AND classroom_id IN("%s")
;