Accounting for the activities of funerary temples: the intertwining of the sacred and the profane