Edits to compute_count and add missing files