Wiktionary
chalk up to
vb. (context transitive idiomatic English) To attribute or account for something.
Usage examples of "chalk up to".
In later tests, the researchers also noticed that female macaques appeared to climax about 20 percent of the time during heterosexual encounters, a rather dismal percentage that we can no doubt chalk up to chronic sexual ineptitude on the part of the males.
I was grateful for her help, but unsure how much of my own unsteadiness stemmed from simple fatigue and how much I could chalk up to my obviously deteriorating mind.