Every HMO licence granted in England under Part 2 of the Housing Act 2004 (mandatory or additional) must include national minimum sizes for rooms used as sleeping accommodation: 6.51 square metres for one person aged over 10, 10.22 square metres for two people aged over 10, and 4.64 square metres for one person aged under 10. A room under 4.64 square metres must not be used for sleeping at all. A council can also attach other conditions to the licence.
These minima come from the Licensing of Houses in Multiple Occupation (Mandatory Conditions of Licences) (England) Regulations 2018. They apply to licences under Part 2 of the Act (mandatory and additional licences) for HMOs in England. Selective Licensing and Wales are covered by different rules, so always check the licence and the council's guidance.
Useful links
Guidance only, not legal advice. Only the council can decide whether a property needs a licence, and the law can change. Check the linked GOV.UK pages and your council.