Container filter by transient property

Hello I am trying to use JPA container or LazyEntityContainer add-on with @Transient entity property. I know that transient properties are not persisted in JPA level. That’s why they need actually for:). But maybe is it possible somehow to bypass this limitation in Vaadin container (JPAContainer or LazyEntityContainer and etc) filtering enviroment. When I try to filter container by @Transient property I get
Cannot resolve the property
error. I know that’s normal error for suh property. I am using transient property to do some calculation during entity access time. The problem is that these calculations shoul be done inside entity nor the container side. What really does Transient it picks property of entities set (that are joined with main entity @OneToMany relation) and adds some field together. So I want to filter contaoner by that added fields. I am attaching code of entities

@Entity
class Storage{
   
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer storageId;
   
    @Column("storageName")
    private String storageName;

    @Column("storageCapacity")
    private Integer storageCapacity;

    @OneToMany(mappedBy="storage")
    Set<Item> items;

    @Transient
    Integer itemCntPerStorage;

    //setter getters ommited

    private Integer getItemCntPerStorage()
         {
              for(Item item: items)
                 {
                      itemCntPerStorage + = items.getItemCount;
                 }
               return itemCntPerStorage;      //I want be able to filter container by this
         }
}
// Item entity
@Entity
class Item{
   
    @Id
    private Integer id;
   
    @Column("itemTitle")
    private String itemTitle;

    @Column("itemCount")
    private Integer itemCount;

    @ManyToOne
    Storage storage;

    public Integer getItemCount()
        {
            return this.itemCount;
        }
}