They already have been in custody for over a year-—does that time apply???
Given that they were denied bail for pretrial release that time served will almost certainly count. In both state and federal systems of a person is fiscally unable to post bail their pretrial detention must be counted into the judgment against them. For no bail cases the time should count using the same precedence.