Add statistics queries to fbes plugin