chalk (something) up

write (something) down; record (something); credit (something).