pub fn spent(sessions: &[Session], from: i64, to: i64) -> BTreeMap<String, u32>
Minutes spent on each task, by UID, between two instants (Unix seconds).