SELECT
Format([ExpDte],"mmm-yy") AS MoYr
, Count(tblTransfer.ExpDte) AS countofID
FROM
tblTransfer
GROUP BY
Format([ExpDte],"mmm-yy")
, Year([ExpDte])
, Month([ExpDte])
HAVING
((Not (Format([ExpDte],"mmm-yy")) Is Null))
ORDER BY
Year([ExpDte])
, Month([ExpDte]);