Very related to The magical number seven, plus or minus two, Miller (1956).
See Andy Matuschak notes on that paper here:
https://notes.andymatuschak.org/zjfsd9pyxWQAF3HU5k7RAXhRjJBqtMEGKK27
Zeigarnik effect